package appapi.service;

import appapi.Request.Basic.EquipMaintenanItemReq;
import appapi.Vo.AddEquipMainItemVo;
import appapi.Vo.EditEquipSelfItemBatchVo;
import appapi.entity.basic.EquipmaintenanitemEntity;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 13:40
 */
public interface EquipmaintenanitemService{
    int deleteByPrimaryKey(Long mainItemId);
    int insert(List<EquipmaintenanitemEntity> record);

    EquipmaintenanitemEntity detail(Long mainItemId) ;

    int count(EquipmaintenanitemEntity record) ;

    List<EquipmaintenanitemEntity> getList(EquipMaintenanItemReq req) ;

    int updateByPrimaryKey(EquipmaintenanitemEntity record) ;

    int updateBatch(AddEquipMainItemVo record);
}
